package com.jeecms.wicool.entity.lottery.base;

import java.sql.Timestamp;
import com.jeecms.wicool.entity.lottery.ActiveConfig;


public abstract class AbstractLotteryConfig implements java.io.Serializable {

	// Fields

	private Integer id;
	private ActiveConfig activeConfig;
	private String prizeName;
	private Integer pro;
	private Integer maxCount;
	private Integer dayCount;
	private Integer userMaxCount;
	private Timestamp createTime;
	private Timestamp updateTime;
	private String index;
	private Integer p;  //优先级


	// Constructors

	/** default constructor */
	public AbstractLotteryConfig() {
	}

	public AbstractLotteryConfig(Integer id, ActiveConfig activeConfig,
			String prizeName, Integer pro, Integer maxCount, Integer dayCount,
			Integer userMaxCount, Timestamp createTime, Timestamp updateTime,String index) {
		super();
		this.id = id;
		this.activeConfig = activeConfig;
		this.prizeName = prizeName;
		this.pro = pro;
		this.maxCount = maxCount;
		this.dayCount = dayCount;
		this.userMaxCount = userMaxCount;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.index=index;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public ActiveConfig getActiveConfig() {
		return activeConfig;
	}

	public void setActiveConfig(ActiveConfig activeConfig) {
		this.activeConfig = activeConfig;
	}

	public String getPrizeName() {
		return prizeName;
	}

	public void setPrizeName(String prizeName) {
		this.prizeName = prizeName;
	}

	public Integer getPro() {
		return pro;
	}

	public void setPro(Integer pro) {
		this.pro = pro;
	}

	public Integer getMaxCount() {
		return maxCount;
	}

	public void setMaxCount(Integer maxCount) {
		this.maxCount = maxCount;
	}

	public Integer getDayCount() {
		return dayCount;
	}

	public void setDayCount(Integer dayCount) {
		this.dayCount = dayCount;
	}

	public Integer getUserMaxCount() {
		return userMaxCount;
	}

	public void setUserMaxCount(Integer userMaxCount) {
		this.userMaxCount = userMaxCount;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public void setP(Integer p) {
		this.p = p;
	}

	public Integer getP() {
		return p;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getIndex() {
		return index;
	}


	

}